home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / INCLUDES / I3DSHDEF.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-11  |  1.5 KB  |  40 lines

  1. /* $Id: I3DShDef.H 1.4 1997/05/09 01:56:05 john Exp $ */
  2. /*****************************************************************************\
  3. *                                                                             *
  4. * I3DShDef.h                                                                                *
  5. *   I3DShDeformer definition                                                  *
  6. *                                                                             *
  7. *           Copyright (c) 1995-97, Fractal Design Corp. All rights reserved.  *
  8. *                                                                             *
  9. \*****************************************************************************/
  10.  
  11. #ifndef __I3DSHDEF__
  12. #define __I3DSHDEF__
  13.  
  14. #ifndef __3DBSTYPE__
  15. #include "3DBSType.h"
  16. #endif
  17.  
  18. #ifndef _COMPOBJ_H_
  19. #include "RCompObj.h"
  20. #endif
  21.  
  22. DEFINE_GUID(IID_I3DShDeformer, 0xd690e4d0, 0x805a, 0x11d0, 0xbf, 0x6a, 0x0, 0xa0, 0xc9, 0xa, 0x7c, 0xb);
  23.  
  24. struct IShIterator;
  25.  
  26. #undef  INTERFACE
  27. #define INTERFACE   I3DShDeformer
  28.  
  29. DECLARE_INTERFACE_(I3DShDeformer, IUnknown) {
  30.     //-- IUnknown methods
  31.   STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID* ppvObj) PURE;
  32.   STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  33.   STDMETHOD_(ULONG, Release) (THIS) PURE;
  34.     //-- I3DShDeformer
  35.     STDMETHOD(SetBBox)(THIS_ BOX3D* bbox) PURE;
  36.     STDMETHOD(DeformPoint) (THIS_ VECTOR3D* point, VECTOR3D* result) PURE;
  37.     STDMETHOD(DeformFacetMesh) (NUM3D lod,const FacetMesh &in,FacetMesh &out) PURE;
  38.     };
  39.  
  40. #endif